package com.alex.ip.holder.server.api;

import com.alex.ip.holder.common.enums.AlexResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 服務端配置
 *
 * @author Alex.Liu
 * @date: 2025-02-18 20:15
 * @since 1.0.0
 */
@RestController
@RequestMapping("server")
public class ServerApi {


    /**
     * 健康檢查
     *
     * @return 返回SUCCESS 說明服務端在線
     */
    @GetMapping("/touch")
    public String touch() {
        return AlexResult.SUCCESS.name();
    }
}
